<?php 
include ('head.php'); 
$redirectUrl = "http://www.mediamarkt.cn";
// header('Location: ' . $redirectUrl);
?>
<script type="text/javascript">
	var $golnum = 1;
	$(function() {
		var app = window.app;

		// 用户欢迎信息
		updateUserWelcome();
		function updateUserWelcome() {
			$('#user-login-info').hide();
			if (app.user) {
				$('#user-login-info').show();
				$('#user-wb-screen-name').html(app.user.user_wb_screen_name);
			}
		}
		
		// 监听微博登陆 退出动作
		listenWbAction();
		function listenWbAction() {
			if (app.user) {
				$(document).delegate('a[action="wb-logout"]', 'click', 
					function() {checkcode('1_logout');window.app.wbLogout()});
			} else {
				$(document).delegate('a[action="wb-login"]', 'click', 
					function() {checkcode('2_login');window.app.wbLogin()});
			}
		}
		//setTimeout(function(){
		//	gotonextpage($('.mm_home_start'));
		//}, 10000);
	})
</script>
<div class="mm_home">
 <a href="javascript:void(0)" onclick="showrule();checkcode('8_middle_TC');" class="mm_home_rule"></a>
 <a href="product.php#center" onclick="return gotonextpage(this)" class="mm_home_start"></a>
</div>
<?php include ('foot.php'); ?>